package com.listen.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class JspForward {

	@RequestMapping({"/"})
	public String index(){
		return "index";
	}
	
	@RequestMapping("/{page}")
	public String toPage(@PathVariable(value="page") String page){
		return page;
	}
	
}
